package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 主帐户
 *
 */
@TableName(value = "main_account")
public class MainAccount implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<MainAccount> createExample(){
		return new Example<MainAccount>(MainAccount.class);
	}

	/**  */
	@TableId(value = "main_account_id")
	private Long mainAccountId;

	/**  */
	@TableField(value = "parent_main_account_id")
	private Long parentMainAccountId;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	/** 标签 */
	private String tag;

	/** 名称 */
	private String name;

	/** 余额 */
	@TableField(value = "balance_amount")
	private BigDecimal balanceAmount;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "realtime_balance_amount")
	private BigDecimal realtimeBalanceAmount;

	@TableField(value = "lock_balance_amount")
	private BigDecimal lockBalanceAmount ;

	public BigDecimal getLockBalanceAmount() {
		return lockBalanceAmount;
	}

	public void setLockBalanceAmount(BigDecimal lockBalanceAmount) {
		this.lockBalanceAmount = lockBalanceAmount;
	}

	public Long getMainAccountId() {
		return this.mainAccountId;
	}

	public void setMainAccountId(Long mainAccountId) {
		this.mainAccountId = mainAccountId;
	}

	public Long getParentMainAccountId() {
		return this.parentMainAccountId;
	}

	public void setParentMainAccountId(Long parentMainAccountId) {
		this.parentMainAccountId = parentMainAccountId;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public Long getBusTeamId() {
		return this.busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getBalanceAmount() {
		return this.balanceAmount;
	}

	public void setBalanceAmount(BigDecimal balanceAmount) {
		this.balanceAmount = balanceAmount;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public BigDecimal getRealtimeBalanceAmount() {
		return realtimeBalanceAmount;
	}

	public void setRealtimeBalanceAmount(BigDecimal realtimeBalanceAmount) {
		this.realtimeBalanceAmount = realtimeBalanceAmount;
	}
}
